<!DOCTYPE html>
<script src="../../resources/ahem.js"></script>
<p>There should only be two lines below as the third line is hidden via -webkit-line-clamp.</p>
<div style="font: 20px/1 Ahem; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; -webkit-line-clamp: 2" id="webkitbox">
    xxx<br>
    xxx<br>
    xxx<br>
</div>
